#pragma once

namespace util
{

	template <typename T>
	struct IndexablePair
	{
		IndexablePair(const T & obj0, const T & obj1) { objects[0] = obj0; objects[1] = obj1; }

		T & operator[](size_t i) { return objects[i]; }

	private:
		T objects[2];
	};

}